package com.it.sun.learning001.base;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;

/**
 * @ClassName com.it.sun.learning001.base.Car
 * @Author sunmannian
 * @Date 2021/6/22 14:26
 * @Version V1.0
 * Description  <汽车>
 * Copyright (C) 北京中电兴发科技有限公司  since 2021/6/22
 */
public class Car implements Vehicle{

	Log log = LogFactory.get(Car.class);

	private String color;

	private Integer capacity;

	private String  trademark;

	@Override
	public void drive() {
		log.info("driving");
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public Integer getCapacity() {
		return capacity;
	}

	public void setCapacity(Integer capacity) {
		this.capacity = capacity;
	}

	public String getTrademark() {
		return trademark;
	}

	public void setTrademark(String trademark) {
		this.trademark = trademark;
	}

	public Car(String color, Integer capacity, String trademark) {
		this.color = color;
		this.capacity = capacity;
		this.trademark = trademark;
	}

	public Car() {

	}
}



